home *** CD-ROM | disk | FTP | other *** search
/ Palm Utilities / Palm_Utilities_CD-ROM_2001_2001.iso / files / utils misc / Boxer 0.18 / Boxer018.exe / boxer / README.txt < prev   
Encoding:
Text File  |  2000-07-09  |  13.7 KB  |  397 lines

  1.  
  2. BOXER (tm) - File packager and handler for the Palm.
  3.  
  4. "The first new transport layer for SneakerNet" (tm).
  5.  
  6. Get rid of those floppys you use to transport small files.
  7.  
  8. Beam your resume or pictures of your grandchildren.
  9.  
  10. Download zips directly into your Palm VII and install the PRCs and
  11. READMES without your PC.
  12.  
  13. ---------------------------------------------------
  14.  
  15. Release 0.18
  16.  
  17. [This is still and will for a while be an early beta release that is
  18. very useful, but not very clean, even this readme].
  19.  
  20. Tom Zerucha - tomz@users.sourceforge.net
  21.  
  22. Distributed under the GNU General Public License - see license.html
  23. and include it with any distribution or derivative works.  Binaries
  24. are being distributed separately, but anyone who wants to mirror the
  25. binaries must include a way of getting the source under this license.
  26.  
  27. Portions... (mainly because I probably plagaurized too much of
  28. TextCond for BoxCond):
  29.  
  30. * Copyright (c) 1998
  31. * 3Com/Palm Computing Division.  All rights reserved.
  32.  
  33. (see notice at the end of this file)
  34.  
  35. ---------------------------------------------------
  36.  
  37. HOWTO
  38.  
  39. Install Boxer.prc (and ZLib.prc if you want to (g)unzip files on your
  40. palm).  Grab a linux or windows packager in the appropriate directory.
  41.  
  42. Now box some files - e.g. find a zip (or even gzipped tar), and create
  43. a box or two.
  44.  
  45. Linux & other CLIs:
  46.  
  47. Simply run "box file1 [file2 ...] and each file will be boxed creating
  48. a corresponding .pdb file you can upload with pilot-link.  Unbox is
  49. just as simple, do "unbox file1.pdb [file2.pdb]...".  You can use grep
  50. to search for BOXR and DBLK which should only be in box PDB files.
  51.  
  52. Windows:
  53.  
  54. There are two ways of creating boxes - if you just run WinBoxer, it
  55. will present a file open dialog, so just select files.  Alternately,
  56. you can drag files on top of WinBox and it will automatically invoke
  57. the install app to hotsync your files.  WINDOWS 95 NOTE: It won't
  58. automatically invoke the install app, but will generate a .pdb file
  59. with a similar (actually 8.3 Doslike) name in the same directory as
  60. the original file which you can manually install.
  61.  
  62. For unboxing, after hotsyncing, the boxes should appear in the backup
  63. directory for your user under the Palm desktop directory.
  64.  
  65. You can either run WinUnbox and get a file dialog, or drag files on
  66. top.  A save dialog will appear for each box it finds (or a "not a
  67. box" message).
  68.  
  69. If you prefer to automate things, copy BoxrCn20.dll into your Palm
  70. desktop directory (where HotSync is).  Then use instboxr.exe (run it
  71. from your Palm directory or it will complain about a missing DLL), and
  72. click Yes to install, No to remove the registry entries (or just
  73. doubleclick unbox.reg to edit the registry directly).
  74.  
  75. If it works (and you have a box on the Palm), it will download to the
  76. Unboxed directory under your user director in the Palm directory
  77. (where the backup directory is - see your manual or search for
  78. unbox*).  You probably want to create a shortcut from your desktop to
  79. this directory.  THE FILES WILL AUTOMATICALLY BE UNBOXED while the
  80. HotSync runs.
  81.  
  82. Macintosh:
  83.  
  84. When I get both a Macintosh and a little free time, but the source is
  85. there if you want to work with it.
  86.  
  87. Palm:
  88.  
  89. Run Boxer on the palm and the file should appear in the selection screen.
  90.  
  91. Note there is a box with zlib in it.  To beam Boxer, you can use
  92. launcher, but you will also need to beam ZLib for decompression,
  93. so beam boxer first, then use boxer to sent the boxed Zlib, and
  94. have the receiver do Install -> To DB on the boxed Zlib.
  95.  
  96. ---------------------------------------------------
  97.  
  98. BUTTONS
  99.  
  100. (I don't use dropdown menus because they obscure the file list).
  101.  
  102. Main menu:
  103.  
  104. File brings up a file operations menu, Install brings up a
  105. menu for unboxing palm databases, and (Un)Zip brings up the
  106. compression/decompression menu.
  107.  
  108. Exit in the bottom right corner goes up one level.
  109.  
  110. the (?) brings up usage tips for any screen.
  111.  
  112. File menu:
  113.  
  114. Select a box, then you can do file operations.
  115.  
  116. Delete will remove a box you don't want on your Palm anymore.
  117.  
  118. Beam will send a box to another Palm (requires Boxer on the remote
  119. Palm, both need to be able to beam).
  120.  
  121. Copy will duplicate the box (with a different name).
  122.  
  123. Info will show you information about the box and let you rename it or
  124. change attributes.  It also lets you change boxes that didn't come
  125. from a desktop (e.g. downloaded via the internet) so that they will be
  126. unboxed by the conduit (see IMPORTANT NOTE below).
  127.  
  128. Install menu:
  129.  
  130. Select a box, then you can do install operations.
  131.  
  132. To DB installs the box (it must be a prc, pdb, or pqa, or in that
  133. format), optionally deleting the box itself.
  134.  
  135. To Doc will take any box and save it off as a .DOC file so Aportis, or
  136. QED or other DOC reader can read it.  Note that no text conversion
  137. occurs (may be an option later), so your results may vary.  This can
  138. be destructive or nondestructive.  It implements standard .DOC file
  139. compression.  (Note I plan on enforcing the GPL for my compressor).
  140.  
  141. (Un)Zip menu:
  142.  
  143. Select a box, then you can do decompression operations.
  144.  
  145. If it is a .ZIP, tapping unzip brings up a new menu with a directory
  146. of the zip, and you can unbox (to a box) any of the files inside the
  147. zip archive.
  148.  
  149. If it is a .TAR archive, tapping untar will bring up a menu allowing
  150. you to extract any file just like the unzip.
  151.  
  152. If the file has been gzipped, tapping gunzip will decompress the file
  153. to another box, removing any .gz extension, .tgz will output as .tar,
  154. and anything else will have .guz appended.
  155.  
  156. RipUnX is a batch mode.  It will gunzip a .gz file, or unzip every
  157. entry in a zip archive (or untar a tar) - it does so destructively, so
  158. the tar, gzip, or zip will disappear.  This is so you can work with
  159. very low memory - room is freed as the unarchiving occurs, but it can
  160. fail and you would have to manually restore the box.
  161.  
  162. GZip will compress a box, optionally preserving it or replacing it.
  163. It creates a gzip format file.  Gzipping an already compressed file
  164. will work but won't save much memory.  The compression settings are
  165. lower than that on desktops, but you can get 3:1 or higher on text.
  166.  
  167. ---------------------------------------------------------------------------
  168.  
  169. [Example useages, walkthroughs]
  170.  
  171. BOX TRANSFER - FLOPPY REPLACEMENT
  172.  
  173. And if you hotsync on a different computer, the boxes will appear in
  174. the backup directory where you can use the UnBox utility to recreate
  175. the original file.
  176.  
  177. OMNISKY/PalmVII/Wireless kit
  178.  
  179. HiBrowz (browz.prc) is a helper app that downloads boxes from URLs.
  180.  
  181. If you simply run it you can enter data into the text field for the
  182. URL and it will attempt to download it.  YOU NEED A PALM VII OR
  183. WIRELESS KIT OR SOMETHING SUPPORTING THE CLIPPER.  Note the edit menu
  184. is present so you can paste URLs from elsewhere or cut them (to save
  185. off) or other similar things.
  186.  
  187. It also handles clipper download URLs.  For example, if you can browse
  188. my web page at http://www.execpc.com/~tz you will find a PQA testing
  189. section with tzgps.zip (my GPS program) with a URL of the form:
  190.  
  191. palm:BRWS.appl?http://www.execpc.com/~tz/tzgps.zip
  192.  
  193. If you tap on it on your VII or OmniSky it will download the file into
  194. Boxer.  PalmGear does this with autoinstall PQAs only, but with boxer
  195. you can save money using zipped files and include the documentation.
  196.  
  197. You can use PQAnywhere (included) to access my website and test this,
  198. just enter http://www.execpc.com/~tz/ and tap the Now! button.
  199.  
  200. IF YOU DON'T HAVE WIRELESS WEB CLIPPING, BUT HAVE INTERNET:
  201.  
  202. LoBrowz web client is included if you don't have clipper but have a
  203. modem or cradle that can link to the net.  It is almost identical to
  204. HiBrowz.  It only does http, but will work on any port, so you can
  205. enter more URLs.  It doesn't support https URLs, only http.
  206.  
  207. IMPORTANT NOTE ON BOXER CREATOR TYPES.
  208.  
  209. Boxer supports four types of boxes.
  210.  
  211. BOXR are for transfers between desktops (requires the backup bit to
  212. download to the unbox directory using the conduit, or to the normal
  213. backup directory).
  214.  
  215. BRWS is for the files downloaded by HiBrowz.
  216.  
  217. NZIP is reserved for zipped files.
  218.  
  219. ATCH is for the files made available by Atache
  220.  
  221. On the Info screen, you can make something a BOXR file, so you can
  222. transport it to your desktop (remember to set the backup bit and
  223. save).
  224.  
  225. ---------------------------------------------------------------------------
  226.  
  227. COMPILING
  228.  
  229. For the Palm you need the old GCC tools - this is because I use a GLIB
  230. for zlib, and the new tools had a problem with compiling zlib even
  231. statically.
  232.  
  233. You also need txttobmp, which is in the LinBox directory (as source).
  234.  
  235. Windows uses Visual C of some flavor, and Mac uses CodeWarrior.  The
  236. linux version is the generic command line GCC version (though the open
  237. modes should be binary if you port it to something like WinGNU).
  238.  
  239. ---------------------------------------------------------------------------
  240.  
  241. OTHER STUFF
  242.  
  243. Atache web SERVER is available that will serve up boxes, but it can
  244. only handle one connection at a time and is rather brittle, but you
  245. can do simple HTML pages (with links to images instead of inlines).
  246.  
  247. ZLib is in a separate PRC because it has multiple uses beyond just
  248. Zips and GZips.  Portable Network Graphics (PNG) use it.  PPP Deflate
  249. uses it.
  250.  
  251. ZLib has a homepage at:
  252.  
  253.     http://www.info-zip.org/pub/infozip/zlib/
  254.  
  255. Which includes all the versions, source, and technical details you
  256. would ever want.
  257.  
  258. ---------------------------------------------------------------------------
  259.  
  260. TODO
  261.  
  262. -High--------------------------
  263.  
  264. Scrollbar when less than a screenful of boxes.
  265.  
  266. Give warnings (and a chance to rename) for Overwrites (DmCreate/FOpen)
  267.  
  268. Boxes under 4K will report as 4K at times (palm bug).
  269.  
  270. There appears to be no official way to find the Palm directory install
  271. under Windows.  (You use DLLs, but those are in the Palm directory,
  272. and not on the Path so can't be found).
  273.  
  274. User Quickstart, Manual, and other documentation.
  275.  
  276. * Erase All (or most) - faster multi delete.
  277.  
  278. Macintosh apps
  279.  
  280. Prefs - for delete, install, beam receive, etc. make confirms
  281. optional
  282.  
  283. Do I want menus and shortcuts?
  284.  
  285. RipUnX -> RipIt, add 2nd phase stop/install/ask; install/leave/delete
  286.  
  287. BoxOpen! auto RipIt (for installs of other software)
  288.  
  289. -Medium--------------------------
  290.  
  291. Verify the backup bits are either set, or that there is a reason to
  292. not set them.
  293.  
  294. * Check/process the Read-Only database bit correctly. (for delete or
  295. overwrite, prompt?) or don't use it.
  296.  
  297. DmDatabaseProtect (for delete protection)?
  298.  
  299. Insure makedb handles read/only database attribute correctly (set
  300. after writing?).
  301.  
  302. Pass a database and function code as an API
  303.  
  304. Clean up other progress bars.
  305.  
  306. -Low-
  307.  
  308. PNG viewer
  309.  
  310. Assemble several boxes (download part1, part2, part3, etc.).
  311.  
  312. Clean up no boxes condition.
  313.  
  314. Scratchpad size should be a preference, and failures should autoexpand
  315. the DB and the pref entry.
  316.  
  317. Look into ExgReadDB / ExgWriteDB for makedb and beaming
  318.  
  319. Allow multiple selections (checkboxes) where appropriate, maybe select
  320. all and unselect all in the menu.
  321.  
  322. Get a Mac (why should I get a life when linux now runs on powerbooks
  323. simultaneously with MacOS?)
  324.  
  325. Possible future file ops: Paste Clipboard to box, DB->box, Doc->box
  326.  
  327. PGP: armoring, literal wrapping, and compression - crypto later
  328.  
  329. Conversion or installation for other viewers, e.g. gif to doodle; Mail
  330. messages or attachment handling]
  331.  
  332. ---------------------------------------------------------------------------
  333.  
  334. HISTORY/CHANGELOG (by tz unless otherwise noted).
  335.  
  336. 0.18 - BoxCond install.  GZip added.  More internal tweaks.  LoBrowz.
  337.        Set creator to BOXR.  Major fix to Lin/WinBox core.
  338.  
  339. 0.17 - WinBox fixes and notes.  UnBoxCond does more than one file now.
  340.  
  341. 0.16 - attribute checkboxes.  Persistent selection.
  342.  
  343. 0.15 - main screen not selectable, copy progress cleanup, autooff
  344.     timer resets, use database for directories.
  345.  
  346. 0.14 - beaming fixed (again, I need to ensure changes stay that way),...
  347.     scrollbars!!!. gunzip progress indicator
  348.  
  349. 0.13 - HiBrowz updated, copy & info added, more bugfixes.
  350.  
  351. 0.12 - more UI and other bugfixes, ungzipping now demangles names
  352. sanely, i.e. X.gz -> X, X.tgz -> X.tar
  353.  
  354. 0.11 - UI rework, some bugfixes.
  355.  
  356. 0.10 - first version on my web page
  357.  
  358. 0.0 - source announced and released at MacHack.
  359.  
  360. -----------------------
  361. /*********************************************************************
  362. *
  363. * Copyright (c) 1998
  364. * 3Com/Palm Computing Division.  All rights reserved.
  365. *
  366. * Redistribution and use in source and binary forms, with or without
  367. * modification, are permitted provided that the following conditions
  368. * are met:
  369. * 1. Redistributions of source code must retain the above copyright
  370. *    notice, this list of conditions and the following disclaimer.
  371. * 2. Redistributions in binary form must reproduce the above
  372. *    copyright notice, this list of conditions and the following
  373. *    disclaimer in the documentation and/or other materials provided
  374. *    with the distribution.
  375. * 3. All advertising materials mentioning features or use of this
  376. *    software must display the following acknowledgement:
  377. * This product includes software developed by 3Com and its
  378. * contributors.
  379. * 4. Neither 3Com nor the names of its contributors may be used to
  380. *    endorse or promote products derived from this software
  381. *    without specific prior written permission.
  382. *
  383. * THIS SOFTWARE IS PROVIDED BY THE 3COM AND CONTRIBUTORS ``AS IS''
  384. * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  385. * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  386. * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 3COM OR
  387. * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  388. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  389. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  390. * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  391. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  392. * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  393. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
  394. * OF SUCH DAMAGE.
  395. *
  396. *******************************************************************/
  397.